<cfcomponent extends="mxunit.framework.TestCase">

  <cffunction name="setUp" returntype="void" access="public">
			<cfset coldSpring = createObject( 'component', 'coldspring.beans.DefaultXmlBeanFactory').init() />
			<cfset coldSpring.loadBeansFromXmlFile("/actionpacks/projectshen/tests/cs/tracrpcadapter.test.cs.xml") />
      <cfset variables.tracRpcAdapter = coldSpring.getBean('TracRpcAdapter') />
      <cfset variables.authenService = coldSpring.getBean('projectshen.AuthenticationService') />
			<cfset variables.projectId = 1 />
			<cfset request.debug = this.debug />
			<cfset credentials["username"] = "denny" />
			<cfset credentials["password"] = hash("denny","md5") />
			<cfset variables.authenService.setCredentials(credentials) />
			<cfset variables.authenService.authenticate() />
			<cfif NOT variables.authenService.isAuthenticated()>
			  <cfthrow detail="Cannot authenticate for test!" />
			</cfif>
			
   </cffunction>

				
</cfcomponent>